package com.weixing.mall.provider.model.dto;

import com.weixing.mall.provider.model.enums.ReviewEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author wx
 * @Date 2019/8/7 14:52
 * @Version 1.0
 */
@Data
@ApiModel(description = "买家秀")
public class BuyerShowDto {

    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "用户")
    private Long memberId;
    @ApiModelProperty(value = "商品名称")
    @NotNull(message = "商品名称不能为空")
    private Long goodsId;
    @ApiModelProperty(value = "评价内容")
    @NotNull(message = "评价内容不能为空")
    private String comment;
    @ApiModelProperty(value = "买家秀图片")
//    @NotNull(message = "买家秀图片不能为空")
    private String[] img;
    @ApiModelProperty(value = "用户昵称")
    @NotNull(message = "用户昵称不能为空")
    private String nickName;
    @ApiModelProperty(value = "用户头像")

    @NotNull(message = "用户头像不能为空")
    private String avator;
    @ApiModelProperty(value = "点赞数")
    private Integer praiseCount;

    @ApiModelProperty(value = "状态")
    private ReviewEnum auditStatus;
}
